package com.lottery.entity;

import java.sql.Timestamp;

//代理信息表
public class Agency {

	private String id; // id
	private int userId; // id
	private String agencyName; // 代理方名称

	private double agencyIncome;//用户下注,渠道商的分成收益

	private double userIncome; //用户下注反水比例

	private double commission; //代理总额

	private int commitSwitch; //是否开启自动代理商自动结算 1:是,0不是


	private Timestamp effectiveTime;//平台的有效时间

	private int proxyRefAgency;

	public double getUserIncome() {
		return userIncome;
	}

	public void setUserIncome(double userIncome) {
		this.userIncome = userIncome;
	}

	public double getCommission() {
		return commission;
	}

	public void setCommission(double commission) {
		this.commission = commission;
	}

	public int getCommitSwitch() {
		return commitSwitch;
	}

	public void setCommitSwitch(int commitSwitch) {
		this.commitSwitch = commitSwitch;
	}

	public int getProxyRefAgency() {
		return proxyRefAgency;
	}

	public void setProxyRefAgency(int proxyRefAgency) {
		this.proxyRefAgency = proxyRefAgency;
	}

	public Timestamp getEffectiveTime() {
		return effectiveTime;
	}

	public void setEffectiveTime(Timestamp effectiveTime) {
		this.effectiveTime = effectiveTime;
	}

	public double getAgencyIncome() {
		return agencyIncome;
	}

	public void setAgencyIncome(double agencyIncome) {
		this.agencyIncome = agencyIncome;
	}

	public Agency() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAgencyName() {
		return agencyName;
	}

	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "Agency [id=" + id + ", agencyName=" + agencyName + "]";
	}

}
